package com.feihao.zhou.otherMappers;

import com.feihao.zhou.bean.Person;
import com.feihao.zhou.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    //根据传入 的id 查询对应班级的所有学生:

    @Select("select * from student where cid = #{id}")
    List<Student> selectStudent();
}
